package com.ms.p2p.bean;


import com.ms.p2p.entity.member.Member;

import java.io.Serializable;

public class Principal  implements Serializable {

    private Integer id;
    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public Principal(Member member) {
        this.id = member.getId();
        this.username = member.getUser_name();
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
